package com.jiangjiang.eshop.wms.domain;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.util.Date;

/**
 * @ClassName PurchaseInputOrderEntity
 * @Description TODO
 * @Author jhw
 * @Date 2021/9/13 21:33
 * @Version 1.0
 **/
@Data
@TableName("wms_purchase_input_order")
public class PurchaseInputOrderEntity {
    /**
     * 主键
     */
    @TableId(value = "id",type = IdType.AUTO)
    private Long id;

    /**
     * 采购单id
     */
    @TableField("purchase_order_id")
    private Long purchaseOrderId;

    /**
     * 供应商id
     */
    @TableField("supplier_id")
    private Long supplierId;

    /**
     * 预计到货时间
     */
    @TableField("expect_arrival_time")
    private Date expectArrivalTime;

    /**
     * 实际到货时间
     */
    @TableField("actual_arrival_time")
    private Date actualArrivalTime;

    /**
     * 采购联系人
     */
    @TableField("purchase_contractor")
    private String purchaseContractor;

    /**
     * 采购联系人手机号
     */
    @TableField("purchase_contractor_phone_number")
    private String purchaseContractorPhoneNumber;

    /**
     * 采购联系人email
     */
    @TableField("purchase_contractor_email")
    private String purchaseContractorEmail;

    /**
     * 采购单的说明备注
     */
    @TableField("purchase_order_remark")
    private String purchaseOrderRemark;

    /**
     * 采购员
     */
    @TableField("purchaser")
    private String purchaser;

    /**
     * 采购单状态
     */
    @TableField("status")
    private Integer status;

    /**
     * 创建时间
     */
    @TableField(value = "gmt_create",fill = FieldFill.INSERT)
    private Date gmtCreate;

    /**
     * 修改时间
     */
    @TableField(value = "gmt_modified",fill = FieldFill.INSERT_UPDATE)
    private Date gmtModified;

}
